#ifndef _HCSR04_H_
#define _HCSR04_H_
#include <reg52.h>
#include <intrins.h>
#include "uart.h"
sbit TRIG=P2^0;
sbit ECHO=P2^1;
uint32 counter;
uint32 token;
uint8 time;
uint8 ctime;
void init_timer0();
void getDistance();
void wait_time(uint8 num);
#endif